﻿@model TCM.Expense

@{
    ViewBag.Title = "Delete";
}

<h2>Delete Expense</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Expense</legend>    
    <ol>
    <li class="display-label">
         @Html.DisplayNameFor(model => model.Name)
  
        @Html.DisplayFor(model => model.Name)
    </li>

    @*<li class="display-label">
         @Html.DisplayNameFor(model => model.NameAr)
    
        @Html.DisplayFor(model => model.NameAr)
    </li>*@

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ExpenseDate)
    
        @Html.DisplayFor(model => model.ExpenseDate)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Amount)
   
        @Html.DisplayFor(model => model.Amount)
    </li>

       @* <li class="display-label">
         @Html.DisplayNameFor(model => model.PRICE)
   
        @Html.DisplayFor(model => model.PRICE)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.TOTALEXPENSE)
  
        @Html.DisplayFor(model => model.TOTALEXPENSE)
    </li>*@

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ResponsibleEmployee )
    
        @Html.DisplayFor(model => model.Employee.Name)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Notes)

        @Html.DisplayFor(model => model.Notes)
    </li>  

      @* <li class="display-label">
         @Html.DisplayNameFor(model => model.StatusID)
   
        @Html.DisplayFor(model => model.StatusID)
    </li>

     <li class="display-label">
         @Html.DisplayNameFor(model => model.DeleteCode)
  
        @Html.DisplayFor(model => model.DeleteCode)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedBy)
  
        @Html.DisplayFor(model => model.CreatedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedOn)

        @Html.DisplayFor(model => model.CreatedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedBy)
  
        @Html.DisplayFor(model => model.ModifiedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedOn)
   
        @Html.DisplayFor(model => model.ModifiedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.OwnerID)
   
        @Html.DisplayFor(model => model.OwnerID)
    </li>*@
        </ol>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
